home *** CD-ROM | disk | FTP | other *** search
-
- This is the OS/2 2.x recompile of Ftnchek, 2.8.4. Indeed, I can't call
- it a port since Robert Moniot (the author of ftncheck) wrote it in
- a portable fashion, so that it just recompiles under Eberhard Mattes'
- emx environment w/o any complaints. See the original 'readme' file.
-
-
- The OS/2 2.x recompile can be found on the usual sites:
-
- ftp-os2.cdrom.com: (CD-ROM)
-
- now: /os2/incoming/fchek284.zip
- move to: /os2/dev32/fchek284.zip
-
- ftp-os2.nmsu.edu (HOBBES)
-
- now: /incoming/fchek284.zip
- move to: /os2/dev32/fchek284.zip
-
-
- A brief intro:
- ==============
-
- ftnchek is a free Fortran syntax checker (some say, similar to
- a commercial product called FLINT, which I don't know). It allows
- to catch all kinds of problems Fortran is (in)famouse for: unassigned
- variables, type casts, too long lines, wrong number / type of arguments
- in calles to functions/subroutines etc. It can catch lots of problems
- many Fortran compilers seem to fail finding.
- To cut it short, it helps do what a normal Pascal compiler would do
- by itself on Pascal, for those of us who (still) need to use Fortran.
- Read the docs to learn more.
-
-
- The OS/2 port:
- ==============
-
- The only modifications I have made to the original distribution before
- recompiling with gcc 2.7.2 / emx09b + emxfix03 are:
-
- a) Applied the patches to bring version 2.8.3 up to version 2.8.4. The
- original sources are renamed to name.orig.
-
- b) Included a makefile for os/2, called 'makefile.os2' (which is identical
- to the included makefile).
-
- This file defines two new symbolic targets, OS2emx and OS2noemx,
- with 'gcc' as the compiler and also sets the LARGE_MACHINE
- option to allow for more table space for large programmes. (If that
- is not enough, read the readme file and try with the DYNAMIC option,
- or so. I haven't tried it since I never ran out of space even in the
- default setting, but someone complained in the fortran news group
- about needing LARGE). Also, it adds a TARGET with EXE extension, and
- specifies the object files to be stripped to save some space.
-
- To re-build the version to be used with emx, run
-
- make -f makefile.os2 OS2emx.
-
- To re-build the version to be used without emx, run
-
- make -f makefile.os2 OS2noemx.
-
- I tested this only with gnu make.
- The original 'makefile' is identical to 'makefile.unix' and got renamed
- to 'makefile.distribution' for completeness.
-
- c) Included a binary, ftnchek.exe, which needs the 'emx09b' runtime system
- to work. This can be found as emxrt.zip on many ftp sites, including
- hobbes (ftp-os2.nmsu.edu) and cdrom (ftp-os2.cdrom.com). I compiled
- it with gcc 2.7.2 / emx09b + emxfix03. To use it, make sure to have the
- emx runtime libraries installed in your LIBPATH.
-
- d) I also included a binary, ftnchekS.exe, which can be used w/o having
- emxrt installed. This binary is slightly bigger, and in case you have
- emx.dll installed anyway, it is probably a good idea to use the first
- binary to free some RAM.
-
- If you want to read more about the specifics of the port and the makefile
- changes, feel free to read my 'os2port.txt' file, included as well.
-
- Installation:
- =============
-
- 1) If you are using an older version of ftnchek make a backup copy first!
- Now put the binary 'ftnchek.exe' or 'ftnchekS.exe' in a directory in
- your PATH. Of course, you can rename 'ftnchekS.exe' to 'ftnchek.exe'
- if you wish.
-
- 2) If you have a postscript printer you may wish to print the file
- 'ftnchek.ps'. If you have GNU man installed, you may wish to move the
- file 'ftnchek.man' onto a file 'ftnchek.1' in your man/man1
- directory. If you have neither nor read the file 'ftnchek.doc'
-
- 3) Use it.
-
- As always: The progamme is distributed as is, no warranties are given or
- implied in any way. Use at your own risk; if it kills your cat -- too bad.
- All the copyrights or -lefts of the original distribution apply. Check there.
-
- Bug reports to the original author, please, unless they are clearly
- a 'feature' of the os/2 port. (I don't know what I can do then, since all
- I did was a re-compile anyway).
-
- Chocolates to Robert Moniot (ftnchek), Eberhard Mattes (emx) and the other
- gcc people, and if some are left, as always, I'll take a bite.
-
- That's it. Have fun. Stefan A. Deutscher , 31-Mar-1996
-
- sad@utk.edu / stefand@elphy.irz.hu-berlin.de
-
-